package com.ruoyi.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务类别对象 service_type
 * 
 * @author zhk
 * @date 2024-09-10
 */
public class ServiceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String name;

    /** 类别图标 */
    @Excel(name = "类别图标")
    private String icon;

    /** 路由地址 */
    @Excel(name = "路由地址")
    private String url;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long sort;

    /** 删除状态, 0表示未删除, 1表示已删除 */
    @Excel(name = "删除状态, 0表示未删除, 1表示已删除")
    private Long deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("icon", getIcon())
            .append("url", getUrl())
            .append("sort", getSort())
            .append("deleted", getDeleted())
            .toString();
    }
}
